<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>弹性布局</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        html{
            width: 100vw;
        }
        .wrapper{
            width: 100%;   
        }
        .header{
            /* width: 100%; */
            height: 50px;
            background-color: aqua;
        }
        /* 弹性布局 */
        .content{
            width: 100%;
            display: flex;
        }
        .inner-left{
            width: 200px;
           /* 宽度响应 */
            /* flex: 1; */
            height: 200px;
            background-color: blue;
            order:0;
        }
        .inner-mid{
            height: 200px;
            background-color: aquamarine;
            order: 1;
            flex: 3;
        }
        .inner-right{
            height: 200px;
            /* 宽度响应 */
            /* flex: 1; */
            width: 200px;
            background-color: red;
            order: 2;
        }
        .footer{
            height: 50px;
            background: #000;
        }
        
    </style>
</head>
<body>
    <div class="wrapper">
        <div class="header">header</div>
        <div class="content">
            <!-- 弹性布局 -->
            <div class="inner-mid">mid</div>
            <div class="inner-left">left</div>
            <div class="inner-right">right</div>
        </div>
        <div class="footer"></div>
    </div>
</body>
</html>